<div class="header">
    <img  id='logo' src="__PUBLIC__/Image/logo.png" alt="">
    <if condition="$username"> <a id="login" href="javascript:;">你好，{$username}</a>
    <else /> <a id="login" href="javascript:;">登陆</a>
    </if>
</div>
